fix: Cancel computation when Thread has been interrupted#1495
Conversation
c778c29 to
29278aa
Compare
|
@FlorianKroiss , I see that the PR will not break anything but I am surprise because I see that CompletableFuture.cancel according to documentation and implementation will never cancel a running future. How is that the |
|
@rubenporras |
|
Thanks, I was not aware of the change in eclipse-platform/eclipse.platform.ui@3f57e26#diff-00a75d270f37a5ac8daa321e96c33b9aac63d7d155c72bdfd7c615990de085f8 |
This is similar to #1486, but here our Thread is informed directly via
org.eclipse.jface.text.contentassist.AsyncCompletionProposalPopup.cancelFutures(), which interrupts all running completion computations.We spotted this rare problem within our application and noticed the following Error being logged: